pp108 : Triggering a Business Process from Schedules

Triggering a Business Process from Schedules

This topic describes the procedure to trigger a business process in a schedule.

Before you begin this task:
You must have a business process created and published to runtime.

In Cordys, a business process can be triggered at scheduled intervals. The procedure to create a schedule template is as follows:

  1. Select a starting point and click to open the schedule modeler.
  2. Select the schedule type from the Schedule Type list box in the schedule modeler. Depending upon the kind of schedule type selected, the schedule table below displays the required columns accordingly.For more information on types of schedules refer to Types of Schedules.
  3. Type the number of times that the schedule event should be triggered in the Number of times to execute text box.

    Note:
    For Runnow type of schedules the Number of times to execute text box is by default specified as

    1. To run the schedule infinitely, type the count value as -1.
  4. Select the Auto Deploy check box to deploy the schedule as soon as it is published. If this option is selected, the schedule will be sent to the Active Schedules tab directly.
  5. Click and specify the date and time at which the schedule is to be executed in the table below.

    Note
    Use the following guidelines while specifying the date and time:

    • For hourly schedules, select the minute of the hour from the Every hour at list.
    • For daily schedules, type the time of the day in the Every day at text box.
    • For weekly schedules, select the day of the week from the Every week on list, and type the time of the day.
    • For monthly schedules, select the day of the month from the Every month on the list, and type the time of the day.
    • For first day of month schedules, type the time of the day in the Every first day of the month at text box.
    • For last day of month schedules, type the time of the day in the Every last day of the month at text box.
    • For first week day of month schedules, type the time of the day in the Every first week day of the month at text box.
    • For last week day of month schedules, type the time of the day in the Every last week day of the month at text box.
    • For fortnightly schedules, type the time of the day in the Every fortnightly at text box.
    • For duration schedules, specify the duration after which the schedule should be triggered in the Time text box.
    • For an instant schedule (Runnow), type the name of the schedule and provide the target information. The schedule will be triggered and executed instantaneously upon deployment.
  6. Select the target in Target Document Type field and click icon to select the required Business Process Model. The name and the definition of the selected Business Process Model is displayed in the Target and Request XML text boxes, respectively. You must supply the appropriate parameter values to the Business Process Model.
  7. Click on the toolbar to save the schedule.
  8. To deploy the schedule, refer to Deploying Schedules.

The business process is scheduled to be executed at the scheduled intervals.



Related tasks

Creating a Schedule
Invoking a Web service through Schedules
Deploying a Schedule